Colorize Black and White Photos using a Caffe Model in OpenCV

In this lesson we'll learn how to use pre-trained models to automatically Colorize a Black and White (grayscale) Photo https://github.com/richzhang/colorization/blob/master/colorize.py

Colorizing black and white images is an amazingly useful and incredible technique achieved by deep learning.

Colorful Image Colorization

by Richard Zhang, Phillip Isola, Alexei A. Efros. In ECCV, 2016.

We'll be using the following Caffe model files that we'll download in the next cell below. These will be then loaded into OpenCV:

  1. colorization_deploy_v2.prototext
  2. colorization_release_v2.caffe
  3. pts_in_hull.npy

FOR more:https://pyimagesearch.com/2019/02/25/black-and-white-image-colorization-with-opencv-and-deep-learning/